Propriedade _DTE.ItemOperations

Obtém o objeto de ItemOperations .

Namespace:  EnvDTE
Assembly:  EnvDTE (em EnvDTE.dll)

Sintaxe

'Declaração
ReadOnly Property ItemOperations As ItemOperations
ItemOperations ItemOperations { get; }
property ItemOperations^ ItemOperations {
    ItemOperations^ get ();
}
abstract ItemOperations : ItemOperations
function get ItemOperations () : ItemOperations

Valor de propriedade

Tipo: EnvDTE.ItemOperations
Um objeto ItemOperations.

Comentários

O objeto de ItemOperations inclui os membros que são específicos para preencher caixas de diálogo como Adicionar Item, Abrir Arquivo, e caixas de diálogo de Novo Arquivo .

Exemplos

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

Segurança do .NET Framework

Consulte também

Referência

_DTE Interface

Namespace EnvDTE