ManagedNameAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的類別實例 ManagedNameAttribute ,允許為該屬性所應用的類型、欄位、屬性、方法或參數指定替代名稱。
public:
ManagedNameAttribute(System::String ^ name);
public ManagedNameAttribute(string name);
new System.Management.Instrumentation.ManagedNameAttribute : string -> System.Management.Instrumentation.ManagedNameAttribute
Public Sub New (name As String)
參數
- name
- String
此屬性所應用的類型、欄位、屬性、方法或參數的別名。
備註
.NET Framework 安全性
完全信任當下的來電者。 此成員無法被部分受信任的程式碼使用。 欲了解更多資訊,請參閱 「部分受信任程式碼的函式庫使用」。