StandardModelingAdapter.GetElementId 메서드
ModelElement에 대한 Element Id를 가져옵니다. 이 요소 Id는 모델 요소의 모델 버스 참조를 작성하는 데 사용됩니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Integration
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0(Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
구문
‘선언
Protected Overridable Function GetElementId ( _
mel As ModelElement _
) As String
protected virtual string GetElementId(
ModelElement mel
)
매개 변수
- mel
형식: Microsoft.VisualStudio.Modeling.ModelElement
요소 ID를 요청하는 ModelElement
반환 값
형식: System.String
어댑터에서 관리되는 개체 간의 ModelElement를 고유하게 나타내는 문자열입니다.
설명
기본 구현에서는 <code>를 반환 mel.Id.ToString() </code> 마찬가지입니다 경우 <c> SerializeId </c> <c> XMLClassData </c> 속성 이 DomainClass 하는와 관련 된 </w:t> </w:r> <w:r> <w:rPr> < w:val w:rStyle = "ParameterReference" / >< / w:rPr >< w:t > mel </w:t> </w:r> <w:r> <w:t> <c> </c> 참이 (기본 없는) 다른 경우에는 어댑터 만든 고유 Id (예: 모니커)를 제공 해야
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.