Méthode | Description | |
---|---|---|
AddEventHandler ( SPContentType contentType, string name, |
Adds the event handler to the content type.
|
|
AddEventHandler ( SPContentType contentType, string name, string assembly, string className, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void |
Adds the event handler to the content type.
|
|
FeatureActivated ( SPFeatureReceiverProperties properties ) : void |
Occurs on feature activation.
|
Méthode | Description | |
---|---|---|
AddWebPart ( SPLimitedWebPartManager manager, string definition, string zone, int index ) : void |
Adds the web part to the page from a definition.
|
|
GetWelcomePageWebPartmanager ( SPFile file ) : SPLimitedWebPartManager |
Gets the welcome page web part manager.
|
|
ProvisionWebParts ( SPLimitedWebPartManager manager ) : void |
Provisions the web parts.
|
Méthode | Description | |
---|---|---|
Deployed ( SPContentType contentType ) : bool |
Gets a value indicating whether the document sets are fully deployed.
|
|
EnsureContext ( SPFeatureReceiverProperties properties ) : void |
Sets the Web and Site objects using the properties object.
|
|
GetEventHandler ( SPEventReceiverDefinitionCollection sperdcol, string className, SPEventReceiverType type ) : SPEventReceiverDefinition |
Gets a specific event handler.
|
|
GetWelcomePage ( SPContentType contentType ) : SPFile |
Gets the document set welcome page for the specified content type.
|
|
ProvisionDocumentSet ( SPContentType contentType ) : void |
Provisions the document set.
|
|
ProvisionDocumentSet ( SPContentTypeId contentTypeId ) : void |
Provisions the document set.
|
|
ProvisionEventHandler ( SPContentType contentType ) : void |
Provisions the event handler.
|
|
ProvisionWelcomePage ( SPContentType contentType ) : SPFile |
Provisions the welcome page.
|
|
SetContextSite ( SPSite site ) : void |
Sets the Web and Site objects.
|
|
SetContextWeb ( SPWeb web ) : void |
Sets the Web and Site objects.
|
public static AddEventHandler ( SPContentType contentType, string name, |
||
contentType | SPContentType | The content type. |
name | string | The name of the event. |
receiver | The type reference of the event receiver class. | |
type | SPEventReceiverType | The event receiver type. |
sequence | int | The sequence. |
sync | SPEventReceiverSynchronization | The synchronization type. |
Résultat | void |
public static AddEventHandler ( SPContentType contentType, string name, string assembly, string className, SPEventReceiverType type, int sequence, SPEventReceiverSynchronization sync ) : void | ||
contentType | SPContentType | The content type. |
name | string | The name of the event. |
assembly | string | The assembly containing the event receiver. |
className | string | Name of the event receiver class. |
type | SPEventReceiverType | The event receiver type. |
sequence | int | The sequence. |
sync | SPEventReceiverSynchronization | The synchronization type. |
Résultat | void |
protected AddWebPart ( SPLimitedWebPartManager manager, string definition, string zone, int index ) : void | ||
manager | SPLimitedWebPartManager | The web part manager. |
definition | string | The web part definition. |
zone | string | The web part zone. |
index | int | The zone index. |
Résultat | void |
public FeatureActivated ( SPFeatureReceiverProperties properties ) : void | ||
properties | SPFeatureReceiverProperties |
/// An |
Résultat | void |
protected static GetWelcomePageWebPartmanager ( SPFile file ) : SPLimitedWebPartManager | ||
file | SPFile | The file to return a |
Résultat | SPLimitedWebPartManager |
protected ProvisionWebParts ( SPLimitedWebPartManager manager ) : void | ||
manager | SPLimitedWebPartManager | The manager. |
Résultat | void |