다음을 통해 공유


AttributeTableBuilder.AddCustomAttributes 메서드 (Assembly, array<Attribute )

제공된 특성 배열의 내용을 테이블 작성기에 추가합니다.

네임스페이스:  Microsoft.Windows.Design.Metadata
어셈블리:  Microsoft.Windows.Design.Extensibility(Microsoft.Windows.Design.Extensibility.dll)

구문

‘선언
Public Sub AddCustomAttributes ( _
    assembly As Assembly, _
    ParamArray attributes As Attribute() _
)
public void AddCustomAttributes(
    Assembly assembly,
    params Attribute[] attributes
)
public:
void AddCustomAttributes(
    Assembly^ assembly, 
    ... array<Attribute^>^ attributes
)
member AddCustomAttributes : 
        assembly:Assembly * 
        attributes:Attribute[] -> unit 
public function AddCustomAttributes(
    assembly : Assembly, 
    ... attributes : Attribute[]
)

매개 변수

  • attributes
    형식: array<System.Attribute[]
    assembly에 추가할 새 특성입니다.

예외

예외 상황
ArgumentNullException

assembly 또는 attributes가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

AttributeTableBuilder 클래스

AddCustomAttributes 오버로드

Microsoft.Windows.Design.Metadata 네임스페이스