다음을 통해 공유


ProtoLink 클래스

임의의 저장소에서 ElementLink를 다시 만드는 데 필요한 정보를 포함합니다.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.Modeling.ProtoElementBase
    Microsoft.VisualStudio.Modeling.ProtoLink

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

구문

‘선언
<SerializableAttribute> _
Public NotInheritable Class ProtoLink _
    Inherits ProtoElementBase _
    Implements ISerializable, IDeserializationCallback
[SerializableAttribute]
public sealed class ProtoLink : ProtoElementBase, 
    ISerializable, IDeserializationCallback

ProtoLink 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 ProtoLink ProtoLink 클래스의 인스턴스를 만듭니다.

위쪽

속성

  이름 설명
Public 속성 DomainClassId 이 프로토타입 요소의 도메인 클래스 ID를 가져옵니다. (ProtoElementBase에서 상속됨)
Public 속성 ElementId 프로토타입 요소의 ID를 가져옵니다. (ProtoElementBase에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetObjectData 개체 데이터를 serialization 데이터 전송 개체에 놓음 (ProtoElementBase.GetObjectData(SerializationInfo, StreamingContext)을(를) 재정의함)
Public 메서드 GetPropertyValue 지정된 도메인 속성의 값을 가져옵니다. (ProtoElementBase에서 상속됨)
Public 메서드 GetRolePlayerId 이 ProtoLink에서 지정된 도메인 역할을 수행하는 ProtoElement의 GUID 식별자를 가져옵니다.
Public 메서드 GetRolePlayerMonikerId 이 ProtoLink에서 지정된 도메인 역할을 수행하는 모니커의 GUID 식별자를 가져옵니다.
Public 메서드 GetSourceRolePlayer
Public 메서드 GetTargetRolePlayer
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 ReconstituteObject 표시된 저장소에 ElementLink를 다시 만듦 (ProtoElementBase.ReconstituteObject(Dictionary<Guid, Guid>, Partition)을(를) 재정의함)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 IDeserializationCallback.OnDeserialization 그래프가 완전히 로드될 때 개체를 deserialize합니다.

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.Modeling 네임스페이스