다음을 통해 공유


GraphSchema.AddSchema 메서드

이 GraphSchema에는 자식 스키마를 추가합니다.

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

구문

‘선언
Public Sub AddSchema ( _
    schema As GraphSchema _
)
public void AddSchema(
    GraphSchema schema
)
public:
void AddSchema(
    GraphSchema^ schema
)
member AddSchema : 
        schema:GraphSchema -> unit
public function AddSchema(
    schema : GraphSchema
)

매개 변수

예외

예외 조건
GraphException

이 스키마에 지정 된 스키마의 자식 인지 또는 IsDocumentSchema이 스키마입니다.

.NET Framework 보안

참고 항목

참조

GraphSchema 클래스

Microsoft.VisualStudio.GraphModel 네임스페이스