Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CssProjectStructureAttribute Class

 

Represents the node in the team project hierarchy to which this test corresponds.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.UnitTesting.CssProjectStructureAttribute

[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false)>]
type CssProjectStructureAttribute = 
    class
        inherit Attribute
    end

NameDescription
System_CAPS_pubmethodCssProjectStructureAttribute(String)

Initializes a new instance of the CssProjectStructureAttribute class.

NameDescription
System_CAPS_pubpropertyCssProjectStructure

Gets the project feature identifier for the test.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Use this attribute to link a test with a project feature team that owns this area of development. This is useful for reporting test information corresponding to the feature team.

This attribute can be specified on a method. Only one instance of this attribute may be applied to a method.

For more information about using attributes, see Extending Metadata Using Attributes.

Legacy Code Example

The following example shows a CssProjectStructureAttribute applied to a test method.

No code example is currently available or this language may not be supported.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: