DataConnectionProperties.GetProperty 메서드

지정된 된 속성 이름 사용 하 여 속성 설명자를 가져옵니다.

네임스페이스:  Microsoft.VisualStudio.Data.Framework
어셈블리:  Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)

구문

‘선언
Protected Function GetProperty ( _
    name As String _
) As PropertyDescriptor
protected PropertyDescriptor GetProperty(
    string name
)
protected:
PropertyDescriptor^ GetProperty(
    String^ name
)
member GetProperty : 
        name:string -> PropertyDescriptor
protected function GetProperty(
    name : String
) : PropertyDescriptor

매개 변수

  • name
    형식: String

    설명자를 검색할 속성의 이름입니다.

반환 값

형식: PropertyDescriptor
지정 된 속성 이름으로 속성 설명자는 또는 nullNull 참조(Visual Basic의 경우 Nothing) 지정한 이름 가진 속성이 없는 경우.

예외

예외 조건
ArgumentNullException

name 매개 변수가 null인 경우

.NET Framework 보안

참고 항목

참조

DataConnectionProperties 클래스

Microsoft.VisualStudio.Data.Framework 네임스페이스