ExpansionContextGetExpansionTypeForDataType Method

Gets the best expansion type corresponding to the datatype.

Definition

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

Parameters

dataType  MFDataType
The datatype.

Return Value

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