_DTE.ItemOperations Özellik
Alır ItemOperations nesne.
Ad alanı: EnvDTE
Derleme: EnvDTE (EnvDTE.dll içinde)
Sözdizimi
'Bildirim
ReadOnly Property ItemOperations As ItemOperations
ItemOperations ItemOperations { get; }
property ItemOperations^ ItemOperations {
ItemOperations^ get ();
}
abstract ItemOperations : ItemOperations with get
function get ItemOperations () : ItemOperations
Özellik Değeri
Tür: EnvDTE.ItemOperations
Bir ItemOperations nesnesi.
Notlar
ItemOperations Nesnesi gibi iletişim kutularını doldurma için özel üyeler içerir Öğe Ekle, Open File, ve Yeni bir dosya iletişim kutuları.
Örnekler
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
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.