CodeMemberMethod.PrivateImplementationType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: