ContentTypeAttribute Constructor
Initializes a new instance of ContentTypeAttribute.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
'Déclaration
Public Sub New ( _
name As String _
)
public ContentTypeAttribute(
string name
)
public:
ContentTypeAttribute(
String^ name
)
new :
name:string -> ContentTypeAttribute
public function ContentTypeAttribute(
name : String
)
- name
Type: System.String
The content type name. Content type names are case-insensitive.
Exception | Condition |
---|---|
ArgumentNullException | name is nulla null reference (Nothing in Visual Basic) or an empty string. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.