ExtensionMethodsResolveItem(Vault, MFIdentifier) Method

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: 24.1.706.1
public static ObjID ResolveItem(
	this Vault vault,
	MFIdentifier reference


vault  Vault
The vault in which the element is defined.
reference  MFIdentifier
A reference to the item.

Return Value

The 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