MethodIdAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the method id for the interface method which this attribute is declared on.
[System.AttributeUsage(System.AttributeTargets.Method)]
public sealed class MethodIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type MethodIdAttribute = class
inherit Attribute
Public NotInheritable Class MethodIdAttribute
Inherits Attribute
- Inheritance
-
MethodIdAttribute
- Attributes
Remarks
Method ids must be unique for all methods in a given interface. This attribute is only applicable for interface method declarations, not for method definitions on classes.
Constructors
MethodIdAttribute(Int32) |
Specifies the method id for the interface method which this attribute is declared on. |
Properties
MethodId |
Gets the method id for the interface method this attribute is declared on. |