XamlMember 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
XamlMember 클래스의 새 인스턴스를 초기화합니다.
오버로드
XamlMember(EventInfo, XamlSchemaContext)
CLR 형식 시스템 XamlMember 및 EventInfo를 사용하여 XamlSchemaContext 클래스의 새 인스턴스를 초기화합니다.
public:
XamlMember(System::Reflection::EventInfo ^ eventInfo, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlMember (System.Reflection.EventInfo eventInfo, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlMember : System.Reflection.EventInfo * System.Xaml.XamlSchemaContext -> System.Xaml.XamlMember
Public Sub New (eventInfo As EventInfo, schemaContext As XamlSchemaContext)
매개 변수
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
설명
멤버가 이벤트(이벤트 처리기 연결 지점 속성)를 나타내는 경우 이 생성자를 사용합니다.
적용 대상
XamlMember(PropertyInfo, XamlSchemaContext)
CLR 형식 시스템 XamlMember 및 PropertyInfo를 사용하여 XamlSchemaContext 클래스의 새 인스턴스를 초기화합니다.
public:
XamlMember(System::Reflection::PropertyInfo ^ propertyInfo, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlMember (System.Reflection.PropertyInfo propertyInfo, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlMember : System.Reflection.PropertyInfo * System.Xaml.XamlSchemaContext -> System.Xaml.XamlMember
Public Sub New (propertyInfo As PropertyInfo, schemaContext As XamlSchemaContext)
매개 변수
- propertyInfo
- PropertyInfo
속성 멤버를 나타내는 CLR 형식 시스템 PropertyInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
설명
멤버가 속성을 나타내는 경우(특히 이벤트 처리기 연결이 아님) 이 생성자를 사용합니다.
적용 대상
XamlMember(EventInfo, XamlSchemaContext, XamlMemberInvoker)
CLR 형식 시스템 XamlMember 및 EventInfo를 사용하여 XamlSchemaContext 클래스의 새 인스턴스를 XamlMemberInvoker 정보와 함께 초기화합니다.
public:
XamlMember(System::Reflection::EventInfo ^ eventInfo, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::Schema::XamlMemberInvoker ^ invoker);
public XamlMember (System.Reflection.EventInfo eventInfo, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.Schema.XamlMemberInvoker invoker);
new System.Xaml.XamlMember : System.Reflection.EventInfo * System.Xaml.XamlSchemaContext * System.Xaml.Schema.XamlMemberInvoker -> System.Xaml.XamlMember
Public Sub New (eventInfo As EventInfo, schemaContext As XamlSchemaContext, invoker As XamlMemberInvoker)
매개 변수
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
- invoker
- XamlMemberInvoker
XamlMemberInvoker에 대한 런타임 리플렉션 호출을 처리하는 XamlMember 구현입니다.
설명
멤버가 이벤트(또는 이벤트 처리기 연결 지점 속성)를 나타내는 경우 이 생성자를 사용합니다.
적용 대상
XamlMember(PropertyInfo, XamlSchemaContext, XamlMemberInvoker)
리플렉션 XamlMember 및 PropertyInfo를 사용하여 XamlSchemaContext 클래스의 새 인스턴스를 XamlMemberInvoker 정보와 함께 초기화합니다.
public:
XamlMember(System::Reflection::PropertyInfo ^ propertyInfo, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::Schema::XamlMemberInvoker ^ invoker);
public XamlMember (System.Reflection.PropertyInfo propertyInfo, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.Schema.XamlMemberInvoker invoker);
new System.Xaml.XamlMember : System.Reflection.PropertyInfo * System.Xaml.XamlSchemaContext * System.Xaml.Schema.XamlMemberInvoker -> System.Xaml.XamlMember
Public Sub New (propertyInfo As PropertyInfo, schemaContext As XamlSchemaContext, invoker As XamlMemberInvoker)
매개 변수
- propertyInfo
- PropertyInfo
속성 멤버를 나타내는 CLR 형식 시스템 PropertyInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
- invoker
- XamlMemberInvoker
XamlMemberInvoker에 대한 런타임 호출을 처리하는 XamlMember 구현입니다.
설명
멤버가 속성을 나타내고 이벤트 처리기 연결이 아닌 경우에만 이 생성자를 사용합니다.
적용 대상
XamlMember(String, MethodInfo, XamlSchemaContext)
연결 가능한 이벤트를 나타내는 XamlMember에 대해 XamlMember 클래스의 새 인스턴스를 초기화합니다.
public:
XamlMember(System::String ^ attachableEventName, System::Reflection::MethodInfo ^ adder, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlMember (string attachableEventName, System.Reflection.MethodInfo adder, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlMember : string * System.Reflection.MethodInfo * System.Xaml.XamlSchemaContext -> System.Xaml.XamlMember
Public Sub New (attachableEventName As String, adder As MethodInfo, schemaContext As XamlSchemaContext)
매개 변수
- attachableEventName
- String
연결 가능한 이벤트의 문자열 이름입니다.
- adder
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 처리기 Add
메서드에 대한 CLR 형식 시스템 MethodInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
설명
멤버가 연결 가능한 이벤트 멤버를 나타내는 경우 이 생성자를 사용합니다.
적용 대상
XamlMember(String, XamlType, Boolean)
문자열 이름을 사용하고 XamlMember 정보를 선언하여 XamlType 클래스의 새 인스턴스를 초기화합니다. 이 서명을 사용하여 생성된 XamlMember에는 중요한 제한이 있습니다.
public:
XamlMember(System::String ^ name, System::Xaml::XamlType ^ declaringType, bool isAttachable);
public XamlMember (string name, System.Xaml.XamlType declaringType, bool isAttachable);
new System.Xaml.XamlMember : string * System.Xaml.XamlType * bool -> System.Xaml.XamlMember
Public Sub New (name As String, declaringType As XamlType, isAttachable As Boolean)
매개 변수
- name
- String
멤버의 문자열 이름입니다.
- isAttachable
- Boolean
멤버가 연결 가능하다는 것을 나타내려면 true
이고, 그렇지 않으면 false
입니다.
예외
name
또는 declaringType
가 null
인 경우
설명
서명 반환 true
IsUnknown을 사용하여 XamlMember(String, XamlType, Boolean) 생성되는 A XamlMember 입니다.
관련된 XamlObjectWriter로드 경로의 경우 이러한 멤버를 개체 그래프에 쓸 수 없습니다. .NET Framework XAML 서비스 구현 XamlObjectWriter.WriteStartMember 을 사용하여 관련 XamlMember 보고 true
IsUnknown시 호출이 throw됩니다XamlObjectWriterException.
구현에서 예외XamlObjectWriter를 처리할 수 있거나 동작을 true
IsUnknown XamlMember 조정하는 다른 방법이 있는 경우를 제외하고는 with를 XamlObjectWriter 생성해서는 안 됩니다. 예를 들어 다음 중 하나 이상이 구현에 해당할 수 있습니다.
XAML 스키마 컨텍스트는 나중에 사용할 수 있습니다.
멤버 호출자 패턴을 사용합니다.
사용자 지정 XAML 작성기에서 의도적으로 재정 XamlObjectWriter.WriteStartMember 의합니다.
적용 대상
XamlMember(String, MethodInfo, MethodInfo, XamlSchemaContext)
연결 가능한 속성을 나타내는 XamlMember에 대해 XamlMember 클래스의 새 인스턴스를 초기화합니다.
public:
XamlMember(System::String ^ attachablePropertyName, System::Reflection::MethodInfo ^ getter, System::Reflection::MethodInfo ^ setter, System::Xaml::XamlSchemaContext ^ schemaContext);
public XamlMember (string attachablePropertyName, System.Reflection.MethodInfo getter, System.Reflection.MethodInfo setter, System.Xaml.XamlSchemaContext schemaContext);
new System.Xaml.XamlMember : string * System.Reflection.MethodInfo * System.Reflection.MethodInfo * System.Xaml.XamlSchemaContext -> System.Xaml.XamlMember
Public Sub New (attachablePropertyName As String, getter As MethodInfo, setter As MethodInfo, schemaContext As XamlSchemaContext)
매개 변수
- attachablePropertyName
- String
연결 가능한 속성의 문자열 이름입니다.
- getter
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 get
접근자에 대한 CLR 형식 시스템 MethodInfo입니다.
- setter
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 set
접근자에 대한 CLR 형식 시스템 MethodInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
설명
멤버가 연결 가능한 속성을 나타내는 경우 이 생성자를 사용합니다.
적용 대상
XamlMember(String, MethodInfo, XamlSchemaContext, XamlMemberInvoker)
연결 가능한 이벤트를 나타내는 XamlMember에 대해 XamlMember 클래스의 새 인스턴스를 XamlMemberInvoker 정보와 함께 초기화합니다.
public:
XamlMember(System::String ^ attachableEventName, System::Reflection::MethodInfo ^ adder, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::Schema::XamlMemberInvoker ^ invoker);
public XamlMember (string attachableEventName, System.Reflection.MethodInfo adder, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.Schema.XamlMemberInvoker invoker);
new System.Xaml.XamlMember : string * System.Reflection.MethodInfo * System.Xaml.XamlSchemaContext * System.Xaml.Schema.XamlMemberInvoker -> System.Xaml.XamlMember
Public Sub New (attachableEventName As String, adder As MethodInfo, schemaContext As XamlSchemaContext, invoker As XamlMemberInvoker)
매개 변수
- attachableEventName
- String
연결 가능한 이벤트의 문자열 이름입니다.
- adder
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 처리기 Add
메서드에 대한 CLR 형식 시스템 MethodInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
- invoker
- XamlMemberInvoker
XamlMemberInvoker에 대한 런타임 호출을 처리하는 XamlMember 구현입니다.
설명
멤버가 연결 가능한 이벤트 멤버를 나타내는 경우 이 생성자를 사용합니다.
적용 대상
XamlMember(String, MethodInfo, MethodInfo, XamlSchemaContext, XamlMemberInvoker)
연결 가능한 속성을 나타내는 XamlMember에 대해 XamlMember 클래스의 새 인스턴스를 XamlMemberInvoker 정보와 함께 초기화합니다.
public:
XamlMember(System::String ^ attachablePropertyName, System::Reflection::MethodInfo ^ getter, System::Reflection::MethodInfo ^ setter, System::Xaml::XamlSchemaContext ^ schemaContext, System::Xaml::Schema::XamlMemberInvoker ^ invoker);
public XamlMember (string attachablePropertyName, System.Reflection.MethodInfo getter, System.Reflection.MethodInfo setter, System.Xaml.XamlSchemaContext schemaContext, System.Xaml.Schema.XamlMemberInvoker invoker);
new System.Xaml.XamlMember : string * System.Reflection.MethodInfo * System.Reflection.MethodInfo * System.Xaml.XamlSchemaContext * System.Xaml.Schema.XamlMemberInvoker -> System.Xaml.XamlMember
Public Sub New (attachablePropertyName As String, getter As MethodInfo, setter As MethodInfo, schemaContext As XamlSchemaContext, invoker As XamlMemberInvoker)
매개 변수
- attachablePropertyName
- String
연결 가능한 속성의 문자열 이름입니다.
- getter
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 get
접근자에 대한 CLR 형식 시스템 MethodInfo입니다.
- setter
- MethodInfo
연결 가능한 멤버의 지원을 구현하는 set
접근자에 대한 CLR 형식 시스템 MethodInfo입니다.
- schemaContext
- XamlSchemaContext
멤버를 정규화하는 XamlSchemaContext 컨텍스트입니다.
- invoker
- XamlMemberInvoker
XamlMemberInvoker에 대한 런타임 호출을 처리하는 XamlMember 구현입니다.
설명
멤버가 연결 가능한 속성 멤버를 나타내는 경우 이 생성자를 사용합니다.