Freigeben über


IVsUIObject.get_Type Method

Returns the name of the data type for the object.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function get_Type ( _
    <OutAttribute> ByRef pTypeName As String _
) As Integer
int get_Type(
    out string pTypeName
)
int get_Type(
    [OutAttribute] String^% pTypeName
)
abstract get_Type : 
        pTypeName:string byref -> int
function get_Type(
    pTypeName : String
) : int

Parameters

  • pTypeName
    Type: String%

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

Return Value

Type: Int32
Returns S_OK if the data type was returned.

.NET Framework Security

See Also

Reference

IVsUIObject Interface

Microsoft.VisualStudio.Shell.Interop Namespace