FeatureDefinition 複合型

(AppHostWebFeatures)

注:

SharePoint アドインはもともと "SharePoint 用アプリ" と呼ばれたため、文字列 app は要素、属性、およびファイル名の一部またはすべてとして表示されます。下位互換性を確保するために、スキーマは変更されていません。

型情報

情報 場所
Namespace http://schemas.microsoft.com/sharepoint/
スキーマ ファイル apphostwebfeatures.xsd
拡張ベース なし

定義

    <xs:complexType name="FeatureDefinition">
        <xs:all>
            <xs:element name="ElementManifests" type="ElementManifestReferences" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="Properties" type="FeaturePropertyDefinitions" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="ActivationDependencies" type="FeatureActivationDependencyDefinitions" minOccurs="0" maxOccurs="1"></xs:element>
            <xs:element name="UpgradeActions" type="UpgradeActionsDefinition" minOccurs="0" maxOccurs="1"></xs:element>
        </xs:all>
        <xs:attribute name="Id" type="UniqueIdentifier" use="required" />
        <xs:attribute name="Title" type="LocalizableString" />
        <xs:attribute name="Description" type="LocalizableString" />
        <xs:attribute name="Version" type="FeatureVersion" />
        <xs:attribute name="Scope" type="FeatureScope" use="required" />
        <xs:attribute name="ReceiverAssembly" type="AssemblyStrongName" />
        <xs:attribute name="ReceiverClass" type="AssemblyClass" />
        <xs:attribute name="Creator" type="LocalizableString" />
        <xs:attribute name="DefaultResourceFile" type="xs:string" />
        <xs:attribute name="Hidden" type="TRUEFALSE" />
        <xs:attribute name="SolutionId" type="UniqueIdentifier" />
        <xs:attribute name="ActivateOnDefault" type="TRUEFALSE" />
        <xs:attribute name="AutoActivateInCentralAdmin" type="TRUEFALSE" />
        <xs:attribute name="AlwaysForceInstall" type="TRUEFALSE" />
        <xs:attribute name="RequireResources" type="TRUEFALSE" />
        <xs:attribute name="ImageUrl" type="RelativeFilePath" use="optional" />
        <xs:attribute name="ImageUrlAltText" type="LocalizableString" use="optional" />
        <xs:attribute name="UIVersion" type="UIVersion" />
    </xs:complexType>

要素と属性

スキーマで sequenceminOccursmaxOccurschoice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。

子要素

要素

説明

ActivationDependencies

FeatureActivationDependencyDefinitions

ElementManifests

ElementManifestReferences

Properties

FeaturePropertyDefinitions

UpgradeActions

UpgradeActionsDefinition


属性

属性

種類

必須

説明

使用可能な値

ActivateOnDefault

TRUEFALSE

省略可能

TRUEFALSE 型の値。

AlwaysForceInstall

TRUEFALSE

省略可能

TRUEFALSE 型の値。

AutoActivateInCentralAdmin

TRUEFALSE

省略可能

TRUEFALSE 型の値。

Creator

LocalizableString

省略可能

LocalizableString 型の値。

DefaultResourceFile

xs:string

省略可能

xs:string 型の値。

説明

LocalizableString

省略可能

LocalizableString 型の値。

Hidden

TRUEFALSE

省略可能

TRUEFALSE 型の値。

ID

Uniqueidentifier

必須出席者

UniqueIdentifier 型の値。

ImageUrl

RelativeFilePath

省略可能

RelativeFilePath 型の値。

ImageUrlAltText

LocalizableString

省略可能

LocalizableString 型の値。

ReceiverAssembly

AssemblyStrongName

省略可能

AssemblyStrongName 型の値。

ReceiverClass

AssemblyClass

省略可能

AssemblyClass 型の値。

RequireResources

TRUEFALSE

省略可能

TRUEFALSE 型の値。

範囲

FeatureScope

必須出席者

FeatureScope 型の値。

SolutionId

Uniqueidentifier

省略可能

UniqueIdentifier 型の値。

タイトル

LocalizableString

省略可能

LocalizableString 型の値。

UIVersion

UIVersion

省略可能

UIVersion 型の値。

バージョン

FeatureVersion

省略可能

FeatureVersion 型の値。