DeclarePartProperty Method

Declares a new part property.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0

Syntax

C#

public static void DeclarePartProperty(
	string globalContext,
	DomainType domain,
	PartType partType
)

Visual Basic

Public Shared Sub DeclarePartProperty ( _
	globalContext As String, _
	domain As DomainType, _
	partType As PartType _
)

Visual C++

public:
static void DeclarePartProperty(
	String^ globalContext, 
	DomainType domain, 
	PartType partType
)

Parameters

globalContext
Type: System.String
Specifies the parameter's global context, which should already exist.
domain
Type: Autodesk.Civil.DatabaseServices.DomainType
Specifies the part's domain.
partType
Type: Autodesk.Civil.DatabaseServices.PartType
Specifies the part's type.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when a part property already exists.

See Also