Property 인터페이스

지정한 개체의 일반 속성 컬렉션에 있는 한 속성을 나타냅니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
<GuidAttribute("7B988E06-2581-485E-9322-04881E0600D0")> _
Public Interface Property
[GuidAttribute("7B988E06-2581-485E-9322-04881E0600D0")]
public interface Property
[GuidAttribute(L"7B988E06-2581-485E-9322-04881E0600D0")]
public interface class Property
[<GuidAttribute("7B988E06-2581-485E-9322-04881E0600D0")>]
type Property =  interface end
public interface Property

Property 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 Application 인프라입니다. Microsoft 내부용입니다.
Public 속성 Collection 이 속성을 지원하는 Property 개체가 포함된 Collection을 가져옵니다.
Public 속성 DTE 최상위 확장성 개체를 가져옵니다.
Public 속성 IndexedValue 목록에 있는 요소 하나를 반환합니다.
Public 속성 Name 개체 이름을 가져옵니다.
Public 속성 NumIndices 값에 액세스하는 데 필요한 인덱스의 수를 가져옵니다.
Public 속성 Object Property 개체를 지원하는 개체를 가져오거나 설정합니다.
Public 속성 Parent 인프라입니다. Microsoft 내부용입니다.
Public 속성 Value Property 개체에서 반환되는 속성 값을 가져오거나 설정합니다.

위쪽

메서드

  이름 설명
Public 메서드 let_Value 속성 값을 설정할 Setter 함수입니다.

위쪽

예제

' Visual Studio macro.
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

참고 항목

참조

EnvDTE 네임스페이스