AGI STK VGT 11 Send comments on this topic.
GetTemplateProvider Method (IAgCrdnRoot)
See Also  Example
ClassName
Specify a class name.





Description

Returns a template provider. The method takes a class name (i.e. \"Satellite\", \"Facility\", etc.)

Syntax

[Visual Basic .NET]
Public Function GetTemplateProvider( _
   ByVal ClassName As String _
) As IAgCrdnProvider

[C#]
public IAgCrdnProvider GetTemplateProvider(
string ClassName
);

[Managed C++]
public: IAgCrdnProvider^ GetTemplateProvider(
String __gc ^ ClassName
);

[Java]
public IAgCrdnProvider getTemplateProvider(
String ClassName
);

[Unmanaged C++]
public: HRESULT GetTemplateProvider(
BSTR ClassName,
IAgCrdnProvider ** ReturnValue
);

Parameters

ClassName
Specify a class name.

Example

Get A Vector Geometry Tool template provider.
[C#] Copy Code
//Returns a VGT provider associated with the specified 
// STK object class (i.e., Satellite, Facility, etc.) or 
// a Central Body. 
IAgCrdnProvider provider = root.GetTemplateProvider(className); 
 

Get A Vector Geometry Tool template provider.
[Visual Basic .NET] Copy Code
'Returns a VGT provider associated with the specified
' STK object class (i.e., Satellite, Facility, etc.) or
' a Central Body.
Dim provider As IAgCrdnProvider = root.GetTemplateProvider(className)

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1