EndTreatmentType.Create(Document, String) Method

EndTreatmentTypeCreate(Document, String) Method

Creates a new EndTreatmentType in a document and adds the input string to the endTreatment parameter.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static EndTreatmentType Create(
	Document doc,
	string strTreatment
)
Public Shared Function Create ( 
	doc As Document,
	strTreatment As String
) As EndTreatmentType
public:
static EndTreatmentType^ Create(
	Document^ doc, 
	String^ strTreatment
)
static member Create : 
        doc : Document * 
        strTreatment : string -> EndTreatmentType 

Parameters

doc  Document
 
strTreatment  String
 

Return Value

EndTreatmentType
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also