編輯

共用方式為


CodeGenerator.GenerateProperty Method

Definition

Generates code for the specified property.

protected:
 abstract void GenerateProperty(System::CodeDom::CodeMemberProperty ^ e, System::CodeDom::CodeTypeDeclaration ^ c);
protected abstract void GenerateProperty (System.CodeDom.CodeMemberProperty e, System.CodeDom.CodeTypeDeclaration c);
abstract member GenerateProperty : System.CodeDom.CodeMemberProperty * System.CodeDom.CodeTypeDeclaration -> unit
Protected MustOverride Sub GenerateProperty (e As CodeMemberProperty, c As CodeTypeDeclaration)

Parameters

e
CodeMemberProperty

The property to generate code for.

c
CodeTypeDeclaration

The type of the object that this property occurs on.

Applies to

See also