IDSRefProvider.SetOwner, méthode

Définit le nom de schéma pour un nœud spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Interop
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • drnidCurr
    Type : IntPtr

    [in] DSREFNODEID du nœud dont le nom du propriétaire doit être défini.

  • bstrOwnerName
    Type : String

    [in] BSTR qui contient le nom du propriétaire à définir pour le nœud spécifié.

Exemples

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
BSTR dsrnOwnerName;
pIDSRefProvider->SetOwner(drnid, dsrnOwnerName);

Sécurité .NET Framework

Voir aussi

Référence

IDSRefProvider Interface

Microsoft.VisualStudio.Data.Interop, espace de noms

Autres ressources

Extensibilité (DDEX) du concepteur Kit de développement logiciel de données