OrderAttribute.Before 屬性
套用這個屬性的副檔名部分應排列在具有指定名稱之副檔名部分的前面。
命名空間: Microsoft.VisualStudio.Utilities
組件: Microsoft.VisualStudio.CoreUtility (在 Microsoft.VisualStudio.CoreUtility.dll 中)
語法
'宣告
Public Property Before As String
public string Before { get; set; }
public:
property String^ Before {
String^ get ();
void set (String^ value);
}
member Before : string with get, set
function get Before () : String
function set Before (value : String)
屬性值
類型:String
應排列在這個部分後的部分。
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentNullException | 值為 nullnull 參考 (即 Visual Basic 中的 Nothing)。 |
ArgumentException | 值為空字串。 |
備註
請參閱編輯器的擴充點如需有關如何使用這個屬性。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。