Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the schema name for a specified node.
Namespace: Microsoft.VisualStudio.Data.Interop
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Sub SetOwner ( _
drnidCurr As IntPtr, _
bstrOwnerName As String _
)
void SetOwner(
IntPtr drnidCurr,
string bstrOwnerName
)
void SetOwner(
[InAttribute] IntPtr drnidCurr,
[InAttribute] String^ bstrOwnerName
)
abstract SetOwner :
drnidCurr:IntPtr *
bstrOwnerName:string -> unit
function SetOwner(
drnidCurr : IntPtr,
bstrOwnerName : String
)
Parameters
- drnidCurr
Type: System.IntPtr
[in] DSREFNODEID of the node whose owner name is to be set.
- bstrOwnerName
Type: System.String
[in] BSTR that contains the owner name to be set for the specified node.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
BSTR dsrnOwnerName;
pIDSRefProvider->SetOwner(drnid, dsrnOwnerName);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Interop Namespace