DataConnectionProperties.ModifyProperty 메서드

기존 속성을 수정 합니다. 현재 DataConnectionProperties 인스턴스는 기본적으로 인식 합니다.

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

구문

‘선언
Protected Sub ModifyProperty ( _
    name As String, _
    ParamArray attributes As Attribute() _
)
protected void ModifyProperty(
    string name,
    params Attribute[] attributes
)
protected:
void ModifyProperty(
    String^ name, 
    ... array<Attribute^>^ attributes
)
member ModifyProperty : 
        name:string * 
        attributes:Attribute[] -> unit
protected function ModifyProperty(
    name : String, 
    ... attributes : Attribute[]
)

매개 변수

  • name
    형식: String

    속성 이름입니다.

  • attributes
    형식: array<Attribute[]

    추가 하거나 수정 해야 하는 특성 집합입니다.

예외

예외 조건
ArgumentNullException

name 매개 변수가 null인 경우

설명

이 메서드는 기존 속성에 관련 된 특성 변경 있습니다. 예를 들어, 어떤 경우에이 다른 속성을 설정 하는 값에 따라 하나의 속성에 대 한 읽기 해야 합니다. 이 두 번째 속성이 업데이트 될 때 데이터 공급자를 호출 하는 ModifyProperty 메서드를 전달 하는 ReadOnlyAttribute 올바른 값으로.

.NET Framework 보안

참고 항목

참조

DataConnectionProperties 클래스

Microsoft.VisualStudio.Data 네임스페이스