Receives the ID of the metadata structure element with the specified alias.
Visual Basic |
---|
Public Function GetMetadataStructureItemIDByAlias( _ ByVal MetadataStructureItemType As MFMetadataStructureItem, _ ByVal Alias As String, _ Optional ByVal Unused As Boolean = True _ ) As Long |
Value | Description |
---|---|
MFMetadataStructureItemClass | Class |
MFMetadataStructureItemClassGroup | Class group. |
MFMetadataStructureItemNamedACL | Named access control list. |
MFMetadataStructureItemNone | None. |
MFMetadataStructureItemObjectType | Object type. This can imply either a real object type or a value list. |
MFMetadataStructureItemPropertyDef | Property definition. |
MFMetadataStructureItemState | State. |
MFMetadataStructureItemStateTransition | State transition. |
MFMetadataStructureItemUser | User. |
MFMetadataStructureItemUserGroup | User group. |
MFMetadataStructureItemValueList | Value list. |
MFMetadataStructureItemValueListItem | Value list item. |
MFMetadataStructureItemVaultEventHandler | Vault-specific event handler. |
MFMetadataStructureItemViewDef | View definition. |
MFMetadataStructureItemWorkflow | Workflow. |
Returns -1 if a match is not found or if more than one item uses the specified alias.
For named ACLs, -1000 is returned if a match is not found or if more than one item uses the specified alias.