Click or drag to resize

ExpansionContextGetExpansionTypeForDataType Method

Gets the best expansion type corresponding to the datatype.

Namespace:  MFiles.VAF.Placeholders
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static ExpansionContextType GetExpansionTypeForDataType(
	MFDataType dataType
)

Parameters

dataType
Type: MFDataType
The datatype.

Return Value

Type: ExpansionContextType
The ExpansionContextType type mapped to the passed datatype.
Remarks
If the vault and a propertyDef are available, it is usually better to use the GetExpansionTypeForPropertyDef() method, as it will separate objects from valuelistitems.
See Also