CodeMemberMethod.PrivateImplementationType Property

 

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

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeTypeReference PrivateImplementationType { get; set; }

Property Value

Type: System.CodeDom.CodeTypeReference

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.

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.

.NET Framework
Available since 1.1
Return to top
Show: