UDPClassificationCreateUDP(AttributeTypeInfoBool, Guid) Method |
Creates a user-defined property with a boolean data type.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic UDPBoolean CreateUDP(
AttributeTypeInfoBool udpTypeInfo,
Guid guid
)
Public Function CreateUDP (
udpTypeInfo As AttributeTypeInfoBool,
guid As Guid
) As UDPBoolean
public:
UDPBoolean^ CreateUDP(
AttributeTypeInfoBool^ udpTypeInfo,
Guid guid
)
Parameters
- udpTypeInfo AttributeTypeInfoBool
- An AttributeTypeInfoBool instance that defines the parameters for the new user-defined property.
- guid Guid
- the Guid for the user-defined property.
Return Value
UDPBoolean
ExceptionsException | Condition |
---|
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