Share via


ContentTypeAttribute(String) Constructor

Definition

Initializes a new instance of ContentTypeAttribute.

public:
 ContentTypeAttribute(System::String ^ name);
public:
 ContentTypeAttribute(Platform::String ^ name);
 ContentTypeAttribute(std::wstring const & name);
public ContentTypeAttribute (string name);
new Microsoft.VisualStudio.Utilities.ContentTypeAttribute : string -> Microsoft.VisualStudio.Utilities.ContentTypeAttribute
Public Sub New (name As String)

Parameters

name
String

The content type name. Content type names are case-insensitive.

Exceptions

nameis null or an empty string.

Applies to