Class NativeNameAttribute
Inherited Members
Namespace: WPIUtil.NativeUtilities
Assembly: FRC.WPIUtil.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class NativeNameAttribute : Attribute
Constructors
| Improve this Doc View SourceNativeNameAttribute()
Initializes a new instance of NativeNameAttribute, using the name of the field as the native name.
Declaration
public NativeNameAttribute()
NativeNameAttribute(String)
Initializes a new instance of NativeNameAttribute, with the name of the native method passed in.
Declaration
public NativeNameAttribute(string nativeName)
Parameters
Type | Name | Description |
---|---|---|
String | nativeName |
Properties
| Improve this Doc View SourceNativeName
Gets the native name for this field if set.
Declaration
public string NativeName { get; }
Property Value
Type | Description |
---|---|
String |