System.CodeDom.CodeMemberProperty Class

Represents a declaration for a property of a type.

See Also: CodeMemberProperty Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeMemberProperty : CodeTypeMember

Remarks

System.CodeDom.CodeMemberProperty can be used to represent the declaration for a property of a type.

The CodeMemberProperty.Type property specifies the data type of the property. The CodeMemberProperty.GetStatements property contains any get statement methods for the property. The CodeMemberProperty.SetStatements property contains any set statement methods for the property. The CodeMemberProperty.Parameters property specifies any parameters for the property, such as are required for an indexer property.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0