Autodesk Vault ProfessionalVault API

ContentSourcePropertyDefinition Constructor

Autodesk.DataManagement.Client.Framework.Vault.Currency.PropertiesContentSourcePropertyDefinition

Creates an instance of a ContentSourcePropertyDefinition

Syntax

public ContentSourcePropertyDefinition(
   ContentSourceProvider provider,
   System.string displayName,
   System.string moniker,
   SupportedMappingDirection supportedMappingDir,
   System.bool supportCreate,
   PropertyDefinition.PropertyDataType dataType,
   ContentSourcePropertyDefinition.ClassificationEnum classification
)
Public Function New( _
   ByVal provider As ContentSourceProvider, _
   ByVal displayName As System.String, _
   ByVal moniker As System.String, _
   ByVal supportedMappingDir As SupportedMappingDirection, _
   ByVal supportCreate As System.Boolean, _
   ByVal dataType As PropertyDefinition.PropertyDataType, _
   ByVal classification As ContentSourcePropertyDefinition.ClassificationEnum _
)

Parameters

NameDescription
providerThe provider that was used to pull this definition out of a content file.
displayNameThe display name of the property definition
monikerA string which uniquely identifies this property definition
supportedMappingDirDescribes the allowed mappings between this ContentSourcePropertyDefinition and Vault PropertyDefinition's
supportCreateIf true, then when writing properties to the content file, we will create the property if it doesn't exist. If false, then we will only modify existing properties but can't create new ones. AutoCAD Block attributes are an example of properties that can only be modified, but not created.
dataTypeThe data type of this property.
classificationDescribes the type of the ContentSourcePropertyDefinition from the content files perspective.

See Also