ObjVerExCollectionExtensionMethodsEnsureAllLoaded Method |
Loads or reloads the Info (ObjectVersion) and Properties of multiple ObjVerExs with a single server call.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static void EnsureAllLoaded(
this IEnumerable<ObjVerEx> objVerExs,
bool allowMissing = false
)
<ExtensionAttribute>
Public Shared Sub EnsureAllLoaded (
objVerExs As IEnumerable(Of ObjVerEx),
Optional allowMissing As Boolean = false
)
public:
[ExtensionAttribute]
static void EnsureAllLoaded(
IEnumerable<ObjVerEx^>^ objVerExs,
bool allowMissing = false
)
Parameters
- objVerExs
- Type: System.Collections.GenericIEnumerableObjVerEx
The objVerExs which should be loaded. - allowMissing (Optional)
- Type: SystemBoolean
Indicates whether missing object versions will cause an error, or simply not load.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableObjVerEx. 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