ノードをノードの型を参照するデータベース オブジェクトの型を指定するに設定します。
名前空間: 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
型 : System.IntPtr
[入力]型が設定されているノードの DSREFNODEID。
- grfType
型 : Microsoft.VisualStudio.Data.Interop.__DSREFTYPE
[出力]指定したノードに設定される値を含む DSREFTYPE の列挙体。
例
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFTYPE grfDSRefType;
pIDSRefProvider->SetType(drnid, grfDSRefType);
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
関連項目
Microsoft.VisualStudio.Data.Interop 名前空間