編輯

共用方式為


CodeMemberMethod.PrivateImplementationType Property

Definition

Gets or sets the data type of the interface this method, if private, implements a method of, if any.

public:
 property System::CodeDom::CodeTypeReference ^ PrivateImplementationType { System::CodeDom::CodeTypeReference ^ get(); void set(System::CodeDom::CodeTypeReference ^ value); };
public System.CodeDom.CodeTypeReference PrivateImplementationType { get; set; }
member this.PrivateImplementationType : System.CodeDom.CodeTypeReference with get, set
Public Property PrivateImplementationType As CodeTypeReference

Property Value

A CodeTypeReference that indicates the data type of the interface with the method that the private method whose declaration is represented by this CodeMemberMethod implements.

Remarks

If this CodeMemberMethod represents the declaration of a private method and the method implements a method of an interface, this property should indicate the interface type that the method is implementing a method of.

The type referenced by this property must be an interface.

Applies to