ExtensionMethodsResolveID(Vault, Type, MFIdentifier) Method
Resolves the id of a vault element by reference.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public static int ResolveID(
this Vault vault,
Type type,
MFIdentifier reference
)
- vault Vault
- The vault in which the element is defined.
- type Type
- M-Files API type of the element to resolve.
- reference MFIdentifier
- A reference to the item to resolve.
Int32The id of the element, the int value of the reference, or -1 if reference not resolved.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).