MetadataCacheVaultGetMetadataStructureItemIDByAlias Method

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

Definition

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

Parameters

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

Return Value

Int32
The id of the metadata structure element.

Implements

IVault.GetMetadataStructureItemIDByAlias(MFMetadataStructureItem, String, Boolean)

See Also