RuntimeFieldHandle.GetObjectData(SerializationInfo, StreamingContext) 메서드

정의

현재 인스턴스로 표시된 필드를 역직렬화하는 데 필요한 데이터를 사용하여 SerializationInfo를 채웁니다.Populates a SerializationInfo with the data necessary to deserialize the field represented by the current instance.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Security.SecurityCritical>]
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

serialization 정보로 채울 SerializationInfo 개체입니다.The SerializationInfo object to populate with serialization information.

context
StreamingContext

(예약됨)serialize된 데이터를 저장 및 검색할 위치입니다.(Reserved) The place to store and retrieve serialized data.

구현

특성

예외

info이(가) null인 경우info is null.

현재 인스턴스의 Value 속성이 유효한 핸들이 아닌 경우The Value property of the current instance is not a valid handle.

설명

context매개 변수는 예약 되어 있으므로 현재이 작업에 참여 하지 않습니다.The context parameter is reserved; it does not currently participate in this operation.

자세한 내용은 SerializationInfo.AddValue 메서드를 참조하세요.For more information, see the SerializationInfo.AddValue method.

적용 대상