This documentation is archived and is not being maintained.

Properties Property (General Extensibility)

Visual Studio .NET 2003

Returns a collection of all properties that pertain to the object.

[Visual Basic .NET]
Public ReadOnly Property Properties() As Properties
[Visual Basic 6]
Property Get Properties() As Properties
HRESULT __stdcall get_Properties(
   /* [out, retval] */ Properties** retVal
Properties Properties {get;}
[JScript .NET]
public function get Properties() : Properties

Return Value

Returns a Properties collection.


Some properties are exposed as automation properties on the Solution Object or from objects you get to through the solution, such as SolutionBuild Object for build dependencies.


Sub ProjectItems()
   ' Before running, create a solution.
   Dim proj As Project
   proj = DTE.ActiveSolutionProjects(0)
   MsgBox("Number of properties: " & proj.ProjectItems.Item(1).Properties.Count)
End Sub

See Also

Properties Property (DTE Object) | Properties Property (DTE Object, Visual Basic and Visual C#) | Properties Property (Visual Basic and Visual C# Configuration Object) | Properties Property (Visual Basic and Visual C# Project Object) | Properties Property (Visual Basic and C# ProjectItem Object)

Applies To: Configuration Object | Project Object | ProjectItem Object | Projects Collection | Solution Object | VCCodeClass Object | VCCodeStruct Object