ExtensionMethodsResolveItem Method (Vault, MFIdentifier) |
Resolves the object/valuelist item id for the passed reference.
Note: This method will return unsafe id's with type = -1, when the identifier
cannot be resolved, but an unsafe id is available.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static ObjID ResolveItem(
this Vault vault,
MFIdentifier reference
)
<ExtensionAttribute>
Public Shared Function ResolveItem (
vault As Vault,
reference As MFIdentifier
) As ObjID
public:
[ExtensionAttribute]
static ObjID^ ResolveItem(
Vault^ vault,
MFIdentifier^ reference
)
Parameters
- vault
- Type: Vault
The vault in which the element is defined. - reference
- Type: MFiles.VAF.ConfigurationMFIdentifier
A reference to the item.
Return Value
Type:
ObjIDThe objID for the reference.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Vault. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also