Click or drag to resize

MetadataCacheVaultGetMetadataStructureItemIDByAlias Method

Returns the metadata structure item id based on the given alias and type.

Namespace:  MFiles.VAF.MetadataCache
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public virtual int GetMetadataStructureItemIDByAlias(
	MFMetadataStructureItem metadataStructureItemType,
	string alias,
	bool raiseErrorIfMultipleMatchesFound = true
)

Parameters

metadataStructureItemType
Type: MFMetadataStructureItem
The metadata structure item type.
alias
Type: SystemString
The alias to resolve.
raiseErrorIfMultipleMatchesFound (Optional)
Type: SystemBoolean
True if an error should be raised upon duplicate aliases.

Return Value

Type: Int32
The id of the metadata structure element.

Implements

IVault.GetMetadataStructureItemIDByAlias(MFMetadataStructureItem, String, Boolean)
See Also