SPEventReceiverDefinition.Assembly property
取得或設定表示用於事件接收組件的強式名稱。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Assembly As String
Get
Set
'用途
Dim instance As SPEventReceiverDefinition
Dim value As String
value = instance.Assembly
instance.Assembly = value
public string Assembly { get; set; }
Property value
Type: System.String
字串,包含表示組件的強式名稱:
EventHandlerName , Version=1.0.0.0, Culture=neutral, PublicKeyToken=a26b5449ac4a4cf3
備註
這個屬性表示組件,也就是集合型別和資源是建置來共同運作及構成一個邏輯單位的功能。組件提供 common language runtime 使用它需要留意的型別實作的資訊。它也可能是建立部署組件快取的事件處理常式的功能。
請參閱
參照
SPEventReceiverDefinition class
SPEventReceiverDefinition members
Microsoft.SharePoint namespace
其他資源
如何: 建立事件處理常式功能