共用方式為


PlainRule 複雜型別 (工作項目類型定義結構描述)

更新:2007 年 11 月

定義 Rules 群組中選取的規則 (項目) 所使用的屬性。

<xs:complexType name="PlainRule">
        <xs:attribute name="for" type="typelib:IdentityName"/>
        <xs:attribute name="not" type="typelib:IdentityName"/>
</xs:complexType>

屬性和項目

下列章節將說明屬性 (Attribute)、子項目和父項目。

屬性

屬性

說明

for

選擇性屬性。

適用這項規則之使用者或群組的名稱。屬性型別為 typelib:IdentityName。最小長度:1;最大長度:255。

模式值:^[^\\]+\\[^\\]+$

模式值範例:Domain\userID

not

選擇性屬性。

不適用這項規則之使用者或群組的名稱。屬性型別為 typelib:IdentityName。最小長度:1;最大長度:255。

模式值:^[^\\]+\\[^\\]+$

模式值範例:Domain\userID

子項目

None

父項目

None

備註

PlainRule 複雜型別是下列項目的項目型別:

PlainRule 複雜型別也是下列複雜型別的延伸基底型別:

項目資訊

Namespace

https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

結構描述名稱

工作項目類型定義

驗證檔

WorkItemTypeDefinition.xsd

可以是空白

不適用

請參閱

概念

可用的欄位規則

其他資源

定義欄位規則