Share via


Secret.ContentType Property

 

Gets or sets the content type of the secret.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

[DataMemberAttribute(Name = "contentType", IsRequired = false)]
public string ContentType { get; set; }
public:
[DataMemberAttribute(Name = "contentType", IsRequired = false)]
property String^ ContentType {
    String^ get();
    void set(String^ value);
}
[<DataMemberAttribute(Name = "contentType", IsRequired = false)>]
member ContentType : string with get, set
<DataMemberAttribute(Name := "contentType", IsRequired := False)>
Public Property ContentType As String

Property Value

Type: System.String

The content type of the secret.

See Also

Secret Class
Microsoft.Azure.KeyVault Namespace

Return to top