Finds the vertex coordinates format declarator (VertexElement) for given declaration with the index of usage.
            
    Namespace: 
   SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# | 
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static int FindVertexFormatElement( VertexElement[] declarator, DeclarationUsage usage, int usageIndex )  | 
Parameters
- declarator
 - Type: array<
            VertexElement
          >[]()[]
Vertex format declarator - vertex coordinate items array. 
- usage
 - Type: DeclarationUsage
Item usage. 
- usageIndex
 - Type: System..::.Int32
Usage index. 
Return Value
Index of the item found in the declarator array, or -1 otherwise.
Remarks
            If the usageIndex is less than 0, the usageIndex is omitted.
            
Exceptions
| Exception | Condition | 
|---|---|
| System..::.ArgumentNullException | declarator is nullNothingnullptra null reference (Nothing in Visual Basic). |