Share via


WebPartAdder.Selector members

Determines whether a Web Part in the site gallery will be included in the list of Web-Parts that are displayed by the WebPartAdder control.

The WebPartAdder.Selector type exposes the following members.

Constructors

  Name Description
Public method WebPartAdder.Selector Initializes a new instance of the WebPartAdder.Selector structure.

Top

Properties

  Name Description
Public property Major Gets the major portion of the current WebPartAdder.Selector.
Public property MajorPlusMinor Gets the selector string in the format MAJOR[:MINOR].
Public property Minor Gets the minor portion of the current WebPartAdder.Selector.
Public property Negated Gets a flag that indicates whether a Web Part is not included in a particular section of a site.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equivalent to the current WebPartAdder.Selector. (Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the current WebPartAdder.Selector object. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NegativelyMatches Determines whether the current WebPartAdder.Selector negatively matches the specified WebPartAdder.Selector.
Public methodStatic member Parse Converts the string representation of a selector to the equivalent WebPartAdder.Selector structure.
Public method PositivelyMatches Determines whether the current WebPartAdder.Selector positively matches the specified WebPartAdder.Selector.
Public method ToString Returns the string representation of the current WebPartAdder.Selector. (Overrides ValueType.ToString().)
Public methodStatic member TryParse Converts the string representation of a selector to the equivalent WebPartAdder.Selector structure.

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two WebPartAdder.Selector objects are equal.
Public operatorStatic member Inequality Determines whether two WebPartAdder.Selector objects are not equal.

Top

See also

Reference

WebPartAdder.Selector structure

Microsoft.SharePoint.WebPartPages namespace