DataViewHierarchyAccessor.ActivateDocumentIfOpen Yöntem

Tanım

Aşırı Yüklemeler

ActivateDocumentIfOpen(String)

Belge açıksa, belirtilen bilinen bilinen bir belgeyi etkinleştirir.

ActivateDocumentIfOpen(String, Guid)

Belge açıksa, belirtilen bilinen ad ve mantıksal görünümle bir belgeyi etkinleştirir.

ActivateDocumentIfOpen(String)

Belge açıksa, belirtilen bilinen bilinen bir belgeyi etkinleştirir.

public:
 bool ActivateDocumentIfOpen(System::String ^ documentMoniker);
public bool ActivateDocumentIfOpen (string documentMoniker);
member this.ActivateDocumentIfOpen : string -> bool
Public Function ActivateDocumentIfOpen (documentMoniker As String) As Boolean

Parametreler

documentMoniker
String

Etkinleştirilecek belge için bilinen ad.

Döndürülenler

Boolean

Belge açıksa true döndürür; Aksi takdirde false döndürür.

Özel durumlar

documentMonikerParametre null.

Şunlara uygulanır

ActivateDocumentIfOpen(String, Guid)

Belge açıksa, belirtilen bilinen ad ve mantıksal görünümle bir belgeyi etkinleştirir.

public:
 bool ActivateDocumentIfOpen(System::String ^ documentMoniker, Guid logicalView);
public bool ActivateDocumentIfOpen (string documentMoniker, Guid logicalView);
member this.ActivateDocumentIfOpen : string * Guid -> bool
Public Function ActivateDocumentIfOpen (documentMoniker As String, logicalView As Guid) As Boolean

Parametreler

documentMoniker
String

Etkinleştirilecek belge için bilinen ad.

logicalView
Guid

Mantıksal bir görünümün tanımlayıcısı.

Döndürülenler

Boolean

Belge açıksa true döndürür; Aksi takdirde false döndürür.

Özel durumlar

documentMonikerParametre null.

Şunlara uygulanır