Share via


IDSRefProvider.SetType 메서드

노드를 참조 하는 데이터베이스 개체의 형식을 지정 하는 노드 형식을 설정 합니다.

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

구문

‘선언
Sub SetType ( _
    drnidCurr As IntPtr, _
    grfType As __DSREFTYPE _
)
void SetType(
    IntPtr drnidCurr,
    __DSREFTYPE grfType
)
void SetType(
    [InAttribute] IntPtr drnidCurr, 
    [InAttribute] __DSREFTYPE grfType
)
abstract SetType : 
        drnidCurr:IntPtr * 
        grfType:__DSREFTYPE -> unit
function SetType(
    drnidCurr : IntPtr, 
    grfType : __DSREFTYPE
)

매개 변수

  • drnidCurr
    형식: IntPtr

    [in] DSREFNODEID 노드는 설정 해야 합니다.

예제

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFTYPE grfDSRefType;
pIDSRefProvider->SetType(drnid, grfDSRefType);

.NET Framework 보안

참고 항목

참조

IDSRefProvider 인터페이스

Microsoft.VisualStudio.Data.Interop 네임스페이스

기타 리소스

데이터 디자이너 확장성 (DDEX) SDK