AGI STK VGT 11Send comments on this topic.
Remove Method (IAgCrdnVectorGroup)
See Also  Example
VectorName
Specify a name of the vector to be removed.
Windows






Windows & Linux

Description

Removes a specified vector.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
   ByVal VectorName As String _
) 
[C#]
public void Remove(
   string VectorName
);
[Managed C++]
public: void Remove(
   String __gc ^ VectorName
);
[Java]
public  remove(
   String VectorName
);
[Unmanaged C++]
public: HRESULT Remove(
   BSTR VectorName
);

Parameters

VectorName
Specify a name of the vector to be removed.

Example

Remove an existing vector with the specified name.
[C#]Copy Code
// Check if the vector with specified name already exists. 
if (provider.Vectors.Contains(VectorName)) 

    provider.Vectors.Remove(VectorName); 

 

Remove an existing vector with the specified name.
[Visual Basic .NET]Copy Code
' Check if the vector with specified name already exists.
If provider.Vectors.Contains(VectorName) Then
    provider.Vectors.Remove(VectorName)
End If

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.