Checks whether the GUID is valid for the given document. Empty GUID is allowed.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsValidVersionGUID( Document document, Guid versionGUID )
Parameters
- document Document
- Target document.
- versionGUID Guid
- The GUID to check.
Return Value
BooleanTrue if the GUID is valid.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
