Share via


VsaItem 類別

注意:這個 API 現在已經過時。

繼承階層架構

Object
  Microsoft.VisualBasic.Vsa.VsaItem
    Microsoft.VisualBasic.Vsa.VsaCodeItem
    Microsoft.VisualBasic.Vsa.VsaGlobalItem
    Microsoft.VisualBasic.Vsa.VsaReferenceItem

命名空間:  Microsoft.VisualBasic.Vsa
組件:  Microsoft.VisualBasic.Vsa (在 Microsoft.VisualBasic.Vsa.dll 中)

語法

'宣告
<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class VsaItem _
    Implements IVsaItem
[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class VsaItem : IVsaItem
[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class VsaItem : IVsaItem
[<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
[<PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")>]
type VsaItem =  
    class 
        interface IVsaItem 
    end
public class VsaItem implements IVsaItem

VsaItem 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 _item
公用屬性 IsDirty
公用屬性 ItemType
公用屬性 Name

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetOption
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
公用方法 SetOption
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualBasic.Vsa 命名空間