共用方式為


ContentPropertyAttribute(String) Constructor

Definition

Initializes a new instance of the ContentPropertyAttribute class.

public:
 ContentPropertyAttribute(System::String ^ name);
public ContentPropertyAttribute (string name);
new Microsoft.Maui.Controls.ContentPropertyAttribute : string -> Microsoft.Maui.Controls.ContentPropertyAttribute
Public Sub New (name As String)

Parameters

name
String

The name of the property.

Applies to