Sdílet prostřednictvím


_DTE.ItemOperations – vlastnost

Získává ItemOperations objektu.

Obor názvů:  EnvDTE
Sestavení:  EnvDTE (v EnvDTE.dll)

Syntaxe

'Deklarace
ReadOnly Property ItemOperations As ItemOperations
    Get
ItemOperations ItemOperations { get; }
property ItemOperations^ ItemOperations {
    ItemOperations^ get ();
}
abstract ItemOperations : ItemOperations
function get ItemOperations () : ItemOperations

Hodnota vlastnosti

Typ: EnvDTE.ItemOperations
ItemOperations Objektu.

Poznámky

ItemOperations Objekt obsahuje členy, které jsou specifické pro vyplnění dialogových oken, například Přidat položku, Otevřít soubor, a Nový soubor dialogy.

Příklady

Sub ItemOperationsExample()
  Dim objTextDoc As TextDocument
  Dim objEP As EditPoint
  
  'Create a new text document.
  Call DTE.ItemOperations.NewFile("General\Text File")
  'Get a handle to the new document.
  Set objTextDoc = DTE.ActiveDocument.Object("TextDocument")
  Set objEP = objTextDoc.StartPoint.CreateEditPoint
  'Create an EditPoint and add some text.
  objEP.Insert "A test sentence."
End Sub

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

_DTE Rozhraní

EnvDTE – obor názvů