Declares a new part property.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when a part property already exists. |