Share

UDPClassification.CreateUDP(AttributeTypeInfoString, Guid) Method

Creates a user-defined property with a string data type.



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

Syntax

C#

public UDPString CreateUDP(
	AttributeTypeInfoString udpTypeInfo,
	Guid guid
)

VB

Public Function CreateUDP ( 
	udpTypeInfo As AttributeTypeInfoString,
	guid As Guid
) As UDPString

C++

public:
UDPString^ CreateUDP(
	AttributeTypeInfoString^ udpTypeInfo, 
	Guid guid
)

Parameters

udpTypeInfo  AttributeTypeInfoString
An AttributeTypeInfoString instance that defines the parameters for the new user-defined property.
guid  Guid
A GUID for the user-defined property.

Return Value

UDPString

Exceptions

ExceptionCondition
ArgumentException Throw when the UDP identifier(name + GUID) is not unique.

Remarks

When the guid parameter is Guid.Empty, a new GUID is automatically assigned to the user-defined property. Multiple UDPs can share the same GUID, however, the combination of the UDP name + GUID must be unique.

See Also

Reference

Was this information helpful?