Export (0) Print
Expand All
ID
Top
Expand Minimize

Type Property [Variation 1] (General Extensibility)

Visual Studio .NET 2003

Returns a constant indicating the object type.

[Visual Basic .NET]
Public ReadOnly Property Type() As <enumeration>
[Visual Basic 6]
Property Get Type() As <enumeration>
[C++]
HRESULT __stdcall get_Type(
   /* [out, retval] */ <enumeration>* retVal
);
[C#]
<enumeration> Type {get;}
[JScript .NET]
public function get Type() : <enumeration>

Parameters

Type
Required. A CodeType Object representing the type of code object.

Return Value

Remarks

For configurations, Type returns a constant indicating whether the collection of configurations is a row of configurations for a specific configuration name, or a column of configurations for a given platform. If the window belongs to an environment tool, then Type identifies the tool. If the window is for a package-supplied tool or document window, then Type is either vsWindowTypeToolWindow or vsWindowTypeDocument, and the ObjectKind Property indicates package-specific type information.

Example

Sub TypeExample()
   Dim Config As Configuration
   Config = DTE.Solution.Projects.Item(1).ConfigurationManager.Item(1)
   MsgBox(Config.Type.ToString)
End Sub

See Also

Applies To: Breakpoint Object | Configuration Object | Configurations Collection | ContextAttributes Collection | Expression Object

Show:
© 2014 Microsoft