Click or drag to resize

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.1.0.1 (2.1.0.1)
Syntax
C#
public static ObjID ResolveItem(
	this 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: ObjID
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