共用方式為


IVsUIObject.get_Type(String) Method

Definition

Returns the name of the data type for the object.

public:
 int get_Type([Runtime::InteropServices::Out] System::String ^ % pTypeName);
public int get_Type (out string pTypeName);
abstract member get_Type : string -> int
Public Function get_Type (ByRef pTypeName As String) As Integer

Parameters

pTypeName
String

[out] Location to return the name of the type.

Returns

Returns S_OK if the data type was returned.

Applies to