DataViewHierarchyAccessor.IsDocumentOpen, méthode (String)

Récupère une valeur booléenne qui indique si un document sous un moniker particulier est ouvert.

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

Syntaxe

'Déclaration
Public Function IsDocumentOpen ( _
    documentMoniker As String _
) As Boolean
public bool IsDocumentOpen(
    string documentMoniker
)
public:
bool IsDocumentOpen(
    String^ documentMoniker
)
member IsDocumentOpen : 
        documentMoniker:string -> bool
public function IsDocumentOpen(
    documentMoniker : String
) : boolean

Paramètres

  • documentMoniker
    Type : String

    Un moniker du document.

Valeur de retour

Type : Boolean
Retourne true si le document spécifié est ouvert ; sinon retourne false.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre documentMoniker est null.

Sécurité .NET Framework

Voir aussi

Référence

DataViewHierarchyAccessor Classe

IsDocumentOpen, surcharge

Microsoft.VisualStudio.Data, espace de noms