Property Interface

 

Represents one property in a generic collection of properties for a given object.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

[GuidAttribute("7B988E06-2581-485E-9322-04881E0600D0")]
public interface Property

NameDescription
System_CAPS_pubpropertyApplication

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyCollection

Gets the Collection containing the Property object supporting this property.

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyIndexedValue[Object, Object, Object, Object]

Returns one element of a list.

System_CAPS_pubpropertyName

Gets the name of the object.

System_CAPS_pubpropertyNumIndices

Gets the number of indices required to access the value.

System_CAPS_pubpropertyObject

Sets or gets the object supporting the Property object.

System_CAPS_pubpropertyParent

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyValue

Gets or sets the value of the property returned by the Property object.

NameDescription
System_CAPS_pubmethodlet_Value(Object)

Setter function to set properties values.

Sub PropertyExample()
   Dim Props As Properties
   Dim PropObj As [Property]
   Dim NameValPair As String

   Props = DTE.Properties("Environment", "General")
   MsgBox("Tools – Options – Environment – General Properties Count _
   = " & Props.Count())
   For Each PropObj In Props
     NameValPair = NameValPair & (PropObj.Name & "Value = " & _
     PropObj.Value & microsoft.VisualBasic.ControlChars.CrLf)
   Next
   MsgBox(NameValPair)
End Sub
Return to top
Show: