IMTL4BinaryFunction 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此接口表示 Objective-C 协议 MTL4BinaryFunction。
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")]
public interface IMTL4BinaryFunction : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")]
[ObjCRuntime.UnsupportedSimulator("ios")]
public interface IMTL4BinaryFunction : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")]
[ObjCRuntime.UnsupportedSimulator("tvos")]
public interface IMTL4BinaryFunction : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")>]
type IMTL4BinaryFunction = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")>]
[<ObjCRuntime.UnsupportedSimulator("ios")>]
type IMTL4BinaryFunction = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="MTL4BinaryFunction", WrapperType=typeof(Metal.MTL4BinaryFunctionWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="name", IsProperty=true, IsRequired=true, IsStatic=false, Name="Name", PropertyType=typeof(System.String), Selector="name")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="functionType", IsProperty=true, IsRequired=true, IsStatic=false, Name="FunctionType", PropertyType=typeof(Metal.MTLFunctionType), Selector="functionType")>]
[<ObjCRuntime.UnsupportedSimulator("tvos")>]
type IMTL4BinaryFunction = interface
interface INativeObject
interface IDisposable
- 属性
- 实现
注解
实现此接口(和子类 NSObject)的类将导出到 Objective-C,因为实现此接口所表示的 Objective-C 协议。
类还可以从此接口实现成员,以从协议实现成员。
属性
| 名称 | 说明 |
|---|---|
| FunctionType |
此接口表示 Objective-C 协议 |
| Handle |
处理(指针)到非托管对象表示形式。 (继承自 INativeObject) |
| Name |
此接口表示 Objective-C 协议 |
扩展方法
| 名称 | 说明 |
|---|---|
| GetHandle(INativeObject) |
此接口表示 Objective-C 协议 |
| GetNonNullHandle(INativeObject, String) |
此接口表示 Objective-C 协议 |