Click or drag to resize

MFIdentifier Methods

The MFIdentifier type exposes the following members.

Methods
  NameDescription
Protected method_Resolve
Internal resolving method.
Public methodEquals(Object)
Equality with any other object.
(Overrides ObjectEquals(Object).)
Public methodEquals(MFIdentifier)
Equality of two MFIdentifiers. For resolved identifiers, type and ID must match. If either one is unresolved, aliases or original ids must match.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Get Hash Code.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsNullOrEmpty
Indicates whether specified MFIdentifier is null or empty.
Public methodStatic memberIsNullOrUnresolved
Indicates whether specified MFIdentifier is null or empty or not Resolved.
Public methodStatic memberIsObjIDString
Indicates if the passed string matches a valid ObjID format.
Public methodStatic memberIsObjVerString
Indicates if the passed string matches a valid ObjVer format.
Public methodStatic memberIsValidGuid
Indicates whether the passed string is a valid M-Files formatted GUID. {00000000-0000-0000-0000-000000000000}
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParseObjIDString
Parses a string into an ObjID object.
Public methodResolve(Vault, Type, Boolean)
Update this MFIdentifier to contain resolved ID of the alias, if it is not already resolved. Returns itself to allow command chaining.
Public methodResolve(Vault, Type, Int32, Boolean)
Update this MFIdentifier to contain resolved ID of the alias, if it is not already resolved. Returns itself to allow command chaining.
Public methodStatic memberResolveID
Resolves the id of a vault element by reference.
Public methodSet
Helper function able to set the identifier value to almost any object type. Accepts MFIdentifier, string, int, enum, and other that cast to string. Returns itself to allow command chaining.
Public methodSetAsID
Indicates whether the MFIdentifier was intially set as an id. Allows serialization to match deserialized values, or to skip resolution.
Public methodShouldSerializeAlias
Method deciding should we include Alias into serialization output. Yes when we have an alias.
Public methodShouldSerializeID
Method deciding should we include ID into serialization output. Yes only when we dont have an alias.
Public methodToString
Returns this instance of Alias value, if not avail, returns string of ID.
(Overrides ObjectToString.)
Top
See Also