ContentSourcePropertyDefinition Constructor
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
| Name | Description |
|---|---|
| provider | The provider that was used to pull this definition out of a content file. |
| displayName | The display name of the property definition |
| moniker | A string which uniquely identifies this property definition |
| supportedMappingDir | Describes the allowed mappings between this ContentSourcePropertyDefinition and Vault PropertyDefinition's |
| supportCreate | If 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. |
| dataType | The data type of this property. |
| classification | Describes the type of the ContentSourcePropertyDefinition from the content files perspective. |